package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;

/**
 * @author Gallant
 * @create 2020-06-30 12:03
 */
public interface CheckGroupService {
    // 添加
    public void add(CheckGroup checkGroup,Integer[] checkItemIds);
    // 查询所有
    public PageResult queryPage(QueryPageBean queryPageBean);

    public CheckGroup findById(Integer id);

    public List<Integer> findItemIdByGroupId(Integer id);

    public void edit(CheckGroup checkGroup,Integer[] checkItemIds);

    public void delete(Integer id);

    public List<CheckGroup> findAll();

}
